package com.way.cloud.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(name = "example-provider")
public interface EchoFeign {

    @GetMapping(value = "/echo/{message}")
    String echo(@PathVariable(name = "message") String message);

}
